/*     */ package com.evitch.csvtrade.cmd;
/*     */ 
/*     */ public class ObjectVisibility
/*     */ {
/*  49 */   public static final ObjectVisibility OBJ_PERIOD_M1 = new ObjectVisibility(1);
/*     */   public static final int _OBJ_PERIOD_M1 = 1;
/*  54 */   public static final ObjectVisibility OBJ_PERIOD_M5 = new ObjectVisibility(2);
/*     */   public static final int _OBJ_PERIOD_M5 = 2;
/*  59 */   public static final ObjectVisibility OBJ_PERIOD_M15 = new ObjectVisibility(4);
/*     */   public static final int _OBJ_PERIOD_M15 = 4;
/*  64 */   public static final ObjectVisibility OBJ_PERIOD_M30 = new ObjectVisibility(8);
/*     */   public static final int _OBJ_PERIOD_M30 = 8;
/*  69 */   public static final ObjectVisibility OBJ_PERIOD_H1 = new ObjectVisibility(16);
/*     */   public static final int _OBJ_PERIOD_H1 = 16;
/*  74 */   public static final ObjectVisibility OBJ_PERIOD_H4 = new ObjectVisibility(32);
/*     */   public static final int _OBJ_PERIOD_H4 = 32;
/*  79 */   public static final ObjectVisibility OBJ_PERIOD_D1 = new ObjectVisibility(64);
/*     */   public static final int _OBJ_PERIOD_D1 = 64;
/*  84 */   public static final ObjectVisibility OBJ_PERIOD_W1 = new ObjectVisibility(128);
/*     */   public static final int _OBJ_PERIOD_W1 = 128;
/*  89 */   public static final ObjectVisibility OBJ_PERIOD_MN1 = new ObjectVisibility(256);
/*     */   public static final int _OBJ_PERIOD_MN1 = 256;
/*  94 */   public static final ObjectVisibility OBJ_ALL_PERIODS = new ObjectVisibility(511);
/*     */   public static final int _OBJ_ALL_PERIODS = 511;
/*  99 */   public static final ObjectVisibility OBJ_HIDDEN = new ObjectVisibility(-1);
/*     */   public static final int _OBJ_HIDDEN = -1;
/*     */   public int val;
/*     */ 
/*     */   private ObjectVisibility(int val)
/*     */   {
/* 103 */     this.val = val;
/*     */   }
/*     */   public static ObjectVisibility getObjectVisibility(int val) {
/* 106 */     switch (val) {
/*     */     case 1:
/* 108 */       return OBJ_PERIOD_M1;
/*     */     case 2:
/* 109 */       return OBJ_PERIOD_M5;
/*     */     case 4:
/* 110 */       return OBJ_PERIOD_M15;
/*     */     case 8:
/* 111 */       return OBJ_PERIOD_M30;
/*     */     case 16:
/* 112 */       return OBJ_PERIOD_H1;
/*     */     case 32:
/* 113 */       return OBJ_PERIOD_H4;
/*     */     case 64:
/* 114 */       return OBJ_PERIOD_D1;
/*     */     case 128:
/* 115 */       return OBJ_PERIOD_W1;
/*     */     case 256:
/* 116 */       return OBJ_PERIOD_MN1;
/*     */     case 511:
/* 117 */       return OBJ_ALL_PERIODS;
/*     */     case -1:
/* 118 */       return OBJ_HIDDEN;
/* 119 */     }return null;
/*     */   }
/*     */ }

/* Location:           C:\Users\froge\workspace\jfx126_bin\lib\jfx.jar
 * Qualified Name:     com.jfx.ObjectVisibility
 * JD-Core Version:    0.6.0
 */